/* 
 * File:   tetrahedra.cpp
 * Author: steve
 * 
 * Created on 16 January 2013, 21:05
 */

#include "tetrahedra.h"

tetrahedra::tetrahedra() {
    this->points = new point [4];
}

tetrahedra::~tetrahedra() {
    delete [] this->points;
}

void tetrahedra::SetPoint(const int& id, const point& point) {
    if(id < 1 or id > 4) {
        std::cout << "Attempting to set tetrahedral point outside range 1-4" << std::endl;
        //return EXIT_FAILURE;
    }
    this->points[id-1] = point;
}
